﻿using NUnit.Framework;
using Framework.Extensions;

namespace Framework.UnitTest.Extensions
{
    [TestFixture]
    public class StringEnumerableExtensionsFixture
    {
        [Test]
        public void SeparateByCombinesStringsWithSeparators()
        {
            var stringElements = new[] {"first", "second", "third"};
            Assert.AreEqual("first, second, third", stringElements.SeparateBy(", "));
        }
    }
}